// File generated from our OpenAPI spec by Stainless.

package com.metest.api.models.rest.actuator.loggers

import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import com.metest.api.core.jsonMapper
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

internal class LoggerListResponseTest {

    @Test
    fun create() {
        val loggerListResponse = LoggerListResponse.builder().build()
    }

    @Test
    fun roundtrip() {
        val jsonMapper = jsonMapper()
        val loggerListResponse = LoggerListResponse.builder().build()

        val roundtrippedLoggerListResponse =
            jsonMapper.readValue(
                jsonMapper.writeValueAsString(loggerListResponse),
                jacksonTypeRef<LoggerListResponse>(),
            )

        assertThat(roundtrippedLoggerListResponse).isEqualTo(loggerListResponse)
    }
}
